<!DOCTYPE html>
<html>
  <head>
    <title>北斗智慧校园</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../../../css/index.css">
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-lhgdialog/lhgdialog.min.js?self=true&skin=idialog"></script>
	<script type="text/javascript" src="../../../../../public/libs/datepicker/WdatePicker.js"></script>
	<script type="text/javascript" src="../../../../../public/js/ajax-crud.js"></script>
	<script type="text/javascript" src="../../../../../public/js/config.js"></script>
	<script type="text/javascript" src="../../../../../public/js/tools.js"></script>
	<script type="text/javascript" src="../../../../../public/js/check.js"></script>
	<script type="text/javascript" src="../../../../../public/js/home-common.js"></script>
	<script type="text/javascript" src="../../../../../public/js/checkkey.js"></script>
	<script type="text/javascript" src="js/pconsume.js"></script>
	<script type="text/javascript">
		function change(){
				var type = $("#pwallet-select").val();
				if(type=="day"){
					WdatePicker({dateFmt: 'yyyy-MM-dd'});
				}else if(type=="month"){
					WdatePicker({dateFmt: 'yyyy-MM'});
				}else if(type=="year"){
					WdatePicker({dateFmt: 'yyyy'});
				}
		}
		
		function changer(){
			var date = new Date();
			var type = $("#pwallet-select option:selected").val();
				if(type=="day"){
					var time = date.getFullYear()+"-"+((date.getMonth()+1<10?"0":""))+(date.getMonth()+1)+"-"+((date.getDate()<10?"0":""))+(date.getDate());
					$("#start-time").val(time);
				}else if(type=="month"){
					$("#start-time").val(date.getFullYear()+"-"+((date.getMonth()+1<10?"0":""))+(date.getMonth()+1));
				}else if(type=="year"){
					$("#start-time").val(date.getFullYear());
				}		
		}
</script>
  </head>
  <body style="overflow: hidden;font-family: 微软雅黑;">
	<div class="right-title">
		<div class="title-img2">
			<img src="../../../../../img/xw/stumanage.png" width="100%" height="100%">
		</div>
		<div class="title-text2">消费管理</div>
		<div class="title-model-now">
			<img src="../../../../../img/xw/lim.png" style="margin-top:5px;"/>
			<img src="../../../../../img/xw/lft.png" style="margin-top:9px;"/>
			<div class="model-now-text">消费管理</div>
			<img src="../../../../../img/xw/lft.png" style="margin-top:9px;"/>
			<div class="model-now-text" style="color:#949496;">消费查询</div>
		</div>
		<div class="title-search">
			<!-- <select id="select-type" name="news-soso">
				<option value="consume" selected="selected">消费查询</option>
				<option value="save" >充值查询</option>
			</select> -->
			<select id="pwallet-select" name="news-soso" onchange="changer()">
				<option value="day" selected="selected">按日查询</option>
				<option value="month" >按月查询</option>
				<option value="year">按年查询</option>		
			</select>	
			<input type="text" id="start-time" class="Wdate" readonly="readonly" onclick="change()" style="margin-left:10px;">
			<div class="search-btn" id="anews-search-btn">查询</div>
			<!-- <div class="pwallet-stat">
				<span style="margin-left:120px;">当前余额：</span><span id="pwallet-balance" style="color:#29a8E8;">0</span>
				<span id="count-dscrp" style="margin-left:20px;"></span><span id="pwallet-consume" style="color:#29a8E8;">0</span>
			</div> -->
		</div>
	</div>
	<div class="table-money">
		<span style="font-size:14px;">余额：</span><span id="pwallet-balance" style="color:#fff;font-size:18px;">0</span><span style="font-size:14px;">&nbsp;元</span>
		<span id="count-dscrp" style="margin-left:20px;font-size:14px;"></span><span id="pwallet-consume" style="color:#fff;font-size:18px;">0</span><span style="font-size:14px;">&nbsp;元</span>
	</div>
	<div class="right-content" id="right-anews-tables">
		<div class="content-title">
			<div class="table-logo">
				<img src="../../../../../img/xw/add-li.png" width="100%" height="100%">
			</div>
			<div class="table-title">消费查询</div>
			<div class="table-pages" id="anews-page">
			
			</div>
		</div>
		<div class="data-back-img"></div>
		<div class="content-data-show" id="anews-data-show">
			
		</div>
	</div>
	<iframe src="detailform.html" name="anews-detailform" id="anews-detailform" class="right-content" style="display:none;border: 0px solid #fff"></iframe>
 </body>
</html>
